package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the TP_INTR_TITU database table.
 * 
 */
@Entity
@Table(name="TP_INTR_TITU")
public class TpIntrTitu implements Serializable {
	private static final long serialVersionUID = 1L;
	private TpIntrTituPK id;
	private String aaTitu;
	private String coOficRgst;
	private String coRegi;
	private String deActoRgst;
	private String deTiIntr;
	private Date feIntrPubl;
	private String idUsuaCrea;
	private String luIntrPubl;
	private String nuTitu;
	private String tiIntr;
	private Date tsUsuaCrea;

    public TpIntrTitu() {
    }


	@EmbeddedId
	public TpIntrTituPK getId() {
		return this.id;
	}

	public void setId(TpIntrTituPK id) {
		this.id = id;
	}
	

	@Column(name="AA_TITU", length=4)
	public String getAaTitu() {
		return this.aaTitu;
	}

	public void setAaTitu(String aaTitu) {
		this.aaTitu = aaTitu;
	}


	@Column(name="CO_OFIC_RGST", length=2)
	public String getCoOficRgst() {
		return this.coOficRgst;
	}

	public void setCoOficRgst(String coOficRgst) {
		this.coOficRgst = coOficRgst;
	}


	@Column(name="CO_REGI", length=2)
	public String getCoRegi() {
		return this.coRegi;
	}

	public void setCoRegi(String coRegi) {
		this.coRegi = coRegi;
	}


	@Column(name="DE_ACTO_RGST", length=80)
	public String getDeActoRgst() {
		return this.deActoRgst;
	}

	public void setDeActoRgst(String deActoRgst) {
		this.deActoRgst = deActoRgst;
	}


	@Column(name="DE_TI_INTR", length=45)
	public String getDeTiIntr() {
		return this.deTiIntr;
	}

	public void setDeTiIntr(String deTiIntr) {
		this.deTiIntr = deTiIntr;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="FE_INTR_PUBL")
	public Date getFeIntrPubl() {
		return this.feIntrPubl;
	}

	public void setFeIntrPubl(Date feIntrPubl) {
		this.feIntrPubl = feIntrPubl;
	}


	@Column(name="ID_USUA_CREA", length=5)
	public String getIdUsuaCrea() {
		return this.idUsuaCrea;
	}

	public void setIdUsuaCrea(String idUsuaCrea) {
		this.idUsuaCrea = idUsuaCrea;
	}


	@Column(name="LU_INTR_PUBL", length=30)
	public String getLuIntrPubl() {
		return this.luIntrPubl;
	}

	public void setLuIntrPubl(String luIntrPubl) {
		this.luIntrPubl = luIntrPubl;
	}


	@Column(name="NU_TITU", length=8)
	public String getNuTitu() {
		return this.nuTitu;
	}

	public void setNuTitu(String nuTitu) {
		this.nuTitu = nuTitu;
	}


	@Column(name="TI_INTR", nullable=false, length=2)
	public String getTiIntr() {
		return this.tiIntr;
	}

	public void setTiIntr(String tiIntr) {
		this.tiIntr = tiIntr;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_USUA_CREA")
	public Date getTsUsuaCrea() {
		return this.tsUsuaCrea;
	}

	public void setTsUsuaCrea(Date tsUsuaCrea) {
		this.tsUsuaCrea = tsUsuaCrea;
	}

}